//
// File:	FactoryManager.cpp
// Author:	Thomas TISSOT-DUPONT
// E-mail:	<thomas.tissotdupont@free.fr>
// Create:	03/05/2010 13:59:40
// Purpose:	
//
#include "FactoryManager.hpp"
#include "Animating.hpp"

//------------------------------------------------------------------
// Constructor / Destructor
//------------------------------------------------------------------
FactoryManager::FactoryManager()
	:	m_pEntityFactory(new EntityFactory())
{
}

FactoryManager::~FactoryManager()
{
	delete m_pEntityFactory;
}

//------------------------------------------------------------------
// GetEntityFactory
//------------------------------------------------------------------
IEntityFactory *FactoryManager::GetEntityFactory() const
{
	return m_pEntityFactory;
}

//------------------------------------------------------------------
// CreateAnimating
//------------------------------------------------------------------
IAnimating *FactoryManager::CreateAnimating() const
{
	return new Animating();
}
